package com.ssy.lingxi.sms.api.model.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 请求对象，只需要传对象id
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/7/20
 */
@Data
public class SimpleIdRequest implements Serializable {
    private static final long serialVersionUID = -256740517645453632L;

    /**
     * id值
     */
    @NotNull(message = "id不能为空")
    private Long id;
}
